using System;
using System.Collections.Specialized;
using System.Configuration;
using System.Xml.Serialization;

namespace Geekees.App.HRAssistant.Core.Configuration
{
	/// <summary>
	/// Contains the Dao configuration settings stored in the 
	/// web.config file. 
	/// </summary>
	[Serializable]
	public class DaoSetting
	{
		private string assemblyName;
		private string assemblyTypeName;
		private string connectionStr;
		private bool isActive;
		
		public bool IsActive
		{
			get { return isActive ; }
			set { isActive = value; }
		}
		public string ConnectionStr
		{
			get { return connectionStr; }
			set { connectionStr = value; }
		}
		public string AssemblyName
		{
			get { return assemblyName; }
			set { assemblyName = value; }
		}

		public string AssemblyTypeName
		{
			get { return assemblyTypeName; }
			set { assemblyTypeName = value; }
		}

		
		public DaoSetting(string assemblyName, string assemblyTypeName, string connectionStr,bool isActive)
		{
			this.assemblyName = assemblyName;
			this.assemblyTypeName = assemblyTypeName;
			this.connectionStr = connectionStr;
			this.isActive = isActive; 
		}
		public DaoSetting() { }	
	
	}
}
